import request from '@/utils/request'

// 查询Android日志上传列表
export function listDeviceLogUploadRecord(query) {
  return request({
    url: '/system/deviceLogUploadRecord/list',
    method: 'get',
    params: query
  })
}

// 查询Android日志上传详细
export function getDeviceLogUploadRecord(id) {
  return request({
    url: '/system/deviceLogUploadRecord/' + id,
    method: 'get'
  })
}

// 新增Android日志上传
export function addDeviceLogUploadRecord(data) {
  return request({
    url: '/system/deviceLogUploadRecord',
    method: 'post',
    data: data
  })
}

// 修改Android日志上传
export function updateDeviceLogUploadRecord(data) {
  return request({
    url: '/system/deviceLogUploadRecord',
    method: 'put',
    data: data
  })
}

// 删除Android日志上传
export function delDeviceLogUploadRecord(id) {
  return request({
    url: '/system/deviceLogUploadRecord/' + id,
    method: 'delete'
  })
}
